import Vue from 'vue'
import App from './App.vue'
import '@/assets/b.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'bootstrap/dist/css/bootstrap.min.css';
Vue.use(ElementUI)
import moment from 'moment';

import router from './router/index.js';
Vue.config.productionTip = false

Vue.filter('dateFormat',function(dateStr,pattern='YYYY-MM-DD'){
  return moment(dateStr).format(pattern)
})

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
